package com.ruihu.admin.module.business.tasknode.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class DefectTypeDeleteDTO {

    @NotNull(message = "缺陷类型id不能为空")
    @ApiModelProperty("缺陷类型id")
    private Long id;

    @NotNull(message = "任务节点id不能为空")
    @ApiModelProperty("任务环节ID")
    private Long taskNodeId;
}
